Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hash method #99

Merged

Conversation

skryukov
Copy link
Contributor

@skryukov skryukov commented Sep 8, 2021

This PR introduces #hash method for StoreModel::Model instance based on attributes hash.
This going to unlock using rspec matchers for example:

expect { subject }.not_to change { settings.reload.configuration }

@DmitryTsepelev DmitryTsepelev merged commit 6f30bd7 into DmitryTsepelev:master Sep 8, 2021
@skryukov skryukov deleted the feature/add-hash-method branch September 8, 2021 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants